import { Component } from '@angular/core';

import { FirstPageService } from '@core/services/first-page.service';
import {SystemConfigService} from '@core/services/system-config.service';

@Component({
  selector: 'app-root',
  template: '<router-outlet></router-outlet>',
  styleUrls: ['./app.component.less']
})
export class AppComponent {

  constructor(private FirstPage: FirstPageService, private systemService: SystemConfigService) {

    systemService.getSysInfo().then(data => {
      console.log(data);
    }, data => {
    });

    systemService.getMenusTree().then(response => {
      console.log(response);
    }, reject => {
      console.log(reject);
    });
  }

}
